//
//  FDBConfigure.m
//  FDBSDK
//
//  Created by curer on 1/3/16.
//  Copyright © 2016 lion. All rights reserved.
//

#import "FDBConfigure.h"

@implementation FDBConfigure

+ (instancetype)sharedInstance {
    static FDBConfigure *_sharedInstance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _sharedInstance = [[FDBConfigure alloc] init];
    });
    
    return _sharedInstance;
}

- (instancetype)init {
    if (self = [super init]) {
        _contactDictionary = [NSMutableDictionary new];
    }
    
    return self;
}

- (BOOL)hasContact {
    return [[self.contactDictionary allKeys] count] > 0;
}

@end
